The Design and Performance Study of Binary Transitive Closure Algorithms

نویسندگان

  • Paul L. C. Wu
  • Binay K. Bhattacharya
چکیده

Transitive closure operation is one of the most useful new operations in deductive database systems. When it is added to conventional relational database systems, most practical problems with recursion can be coped with. Therefore, efficient processing of transitive closure is an important task in deductive database systems. Transitive closure operation can be divided into total closure and query closure operations. To implement the operations, we can have unary or binary algorithms. A lot of work has been done on the efficient derivation of total closures and unary query closures, but not much work has been done on binary query closures. A binary query closure algorithm derives the transitive closure relevant to a set of query constants, associated with pairs of the initial query constants and their driven elements. The binary query closure operation is more frequently used than the unary one. In this research, 6 algorithms are developed for binary query transitive closure processing, namely Binary Wavefront, Unary Wavefront with Frontier-Edges, Unary Wavefront with Implied-Edges-Closure, Unary Wavefront Preprocessing with TotalFrontier-Edges, level-relaxed Binary Wavefront, and level-relaxed Unary Wavefront Preprocessing with Total-Frontier-Edges. These algorithms are analyzed and their relative performances are compared on their VO behavior and other processing costs. More importantly, the analysis is done on different characteristics of data and on different buffer sizes. Our analysis and performance study show that reference locality and data clustering play an important role in the performance of the algorithms. The ordering of the set of relational operations is also important in determining the 110 performance of the algorithms. Our research also demonstrates that the rate at which the disk VO of an algorithm decreases with the increase in buffer size is affected by the Maximum Buffer Requirement of the algorithm. Among the algorithms without level relaxation, Binary Wavefront outperforms the others in a wide range of data sets when the buffer size is small. Unary Wavefront Preprocessing with Total-Frontier-Edges Algorithm performs better when the number of query constants is small and the buffer size is large. A base relation that requires a lot of iterative processing and generates a large volume of answers to the transitive query is best processed by Unary Wavefront with Implied-Edges-Closure Algorithm. The analysis of the YO behavior of Unary Wavefront with Frontier-Edges Algorithm helps to develop a better algorithm, like the Unary Wavefront Preprocessing with Total-Frontier-Edges Algorithm. The level relaxed versions of the algorithms are best for clustered data. Our research provides insight into binary query closure processing. We hope that this will, in turn, stimulate further research on the processing of more complex recursions.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Effect of Transitive Closure on the Calibration of Logistic Regression for Entity Resolution

This paper describes a series of experiments in using logistic regression machine learning as a method for entity resolution. From these experiments the authors concluded that when a supervised ML algorithm is trained to classify a pair of entity references as linked or not linked pair, the evaluation of the model’s performance should take into account the transitive closure of its pairwise lin...

متن کامل

Computationally efficient sup-t transitive closure for sparse fuzzy binary relations

The property of transitivity is one of the most important for fuzzy binary relations, especially in the cases when they are used for the representation of real life similarity or ordering information. As far as the algorithmic part of the actual calculation of the transitive closure of such relations is concerned, works in the literature mainly focus on crisp symmetric relations, paying little ...

متن کامل

FORCED WATER MAIN DESIGN MIXED ANT COLONY OPTIMIZATION

Most real world engineering design problems, such as cross-country water mains, include combinations of continuous, discrete, and binary value decision variables. Very often, the binary decision variables associate with the presence and/or absence of some nominated alternatives or project’s components. This study extends an existing continuous Ant Colony Optimization (ACO) algorithm to simultan...

متن کامل

Topological structure on generalized approximation space related to n-arry relation

Classical structure of rough set theory was first formulated by Z. Pawlak in [6]. The foundation of its object classification is an equivalence binary relation and equivalence classes. The upper and lower approximation operations are two core notions in rough set theory. They can also be seenas a closure operator and an interior operator of the topology induced by an equivalence relation on a u...

متن کامل

Estimating the Size of Generalized Transitive Closures

We present a framework for the estimation of the size of binary recursively defined relations. We show how the framework can be used to provide estimating algo rithms for the size of the transitive closure and generalizations of the transitive closure, and also show that for bounded degree relations, the algorithm runs in linear time. Such estimating algorithms are essential if database systems...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006